﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using DataAnnotationsExtensions;

namespace BenzInfo.Hockey.Grenadiers.Models
{
    [Table("NewsletterEmail")]
    public class NewsletterEmail
    {
        [Key]
        public int Id { get; set; }

        [Required]
        [Display(Name = "DisplayEmailToSendTo", ResourceType = typeof(Resources.Models.NewsletterIncsription))]
        [Email]
        public string EmailRecipient { get; set; }
    }
}